package com.xlabs.server.DO;

import java.util.List;

import com.google.appengine.api.datastore.Cursor;

/**
 * Encapsulates the response to a question query.
 */
public class QuestionQueryResult
{
	/**
	 * Question result list.
	 */
	List<QuestionDO> questions;
	
	/**
	 * Instantiates an instance of {@link QuestionQueryResult}
	 */
	public QuestionQueryResult(List<QuestionDO> questions)
	{
		super();
		this.questions = questions;
	}

	/**
	 * Gets {@link #questions}
	 * @return {@link #questions}
	 */
	public List<QuestionDO> getQuestions()
	{
		return questions;
	}
}
